<?php
	class user
	{
		private $user = array(
							"user_id"    => '',
							"email" => ''
						);
		private $error;
		
		public function user()
		{
			$this->constructor();
		}
		
		public function __construct()
		{
			$this->constructor();
		}
		
		public function getUserData($field = '')
		{
			if ($this->user != '')
			{
				
			}
			else
			{
				$this->error = "No User logged in";
				return false;
			}
		}
		
		public function registerUser()
		{
			
		}
		
		public function getError()
		{
			return $this->error;
		}
		
		private function constructor()
		{
			
		}
	}
?>